package com.lm.model;

import com.meirengu.model.BaseObject;

import java.util.Date;

/*
 * CheckCode 实体类
 * Sat May 05 16:30:36 CST 2018 Mao
 */
public class CheckCode extends BaseObject {
    /**
     * 验证码索引id
     */
    private Integer id;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 验证码
     */
    private Integer code;
    /**
     * ip地址
     */
    private String ip;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 失效时间
     */
    private Date expireTime;
    /**
     * 是否使用
     */
    private boolean isUse;
    /**
     * 使用时间
     */
    private Date usingTime;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setUsingTime(Date usingTime) {
        this.usingTime = usingTime;
    }

    public Date getUsingTime() {
        return usingTime;
    }

    public boolean isUse() {
        return isUse;
    }

    public void setUse(boolean use) {
        isUse = use;
    }

}
